#
# $Id: Makefile 1 2009-10-08 18:23:02Z root $
#

CFLAGS = -g 
CC = gcc
LDFLAGS = -lncurses

all : registers cli regdump show_stats

registers:
	$(NF2_ROOT)/bin/nf2_register_gen.pl --project reference_router

show_stats: show_stats.o ../../../lib/C/common/nf2util.o ../../../lib/C/common/util.o ../lib/C/reg_defines_reference_router.h

cli : cli.o ../../../lib/C/common/nf2util.o ../../../lib/C/common/util.o ../lib/C/reg_defines_reference_router.h

regdump : regdump.o ../../../lib/C/common/nf2util.o ../lib/C/reg_defines_reference_router.h

clean :
	rm -f cli regdump show_stats *.o

install:

.PHONY: all clean install
